package oo_day02.Test;

public class Dog extends Animal {

        Dog(String name,int age,String color){
            super(name,age,color);
        }

        void lookHome(){
        System.out.println("我叫:"+name+"已经"+age+"岁了,是:"+
                color+"颜色的动物,正在看家");
    }
        void eat(){
        System.out.println("我叫:"+name+"已经"+age+"岁了,是:"+
                            color+"颜色的动物,正在吃骨头");
    }

}
